package com.aiyige.model;

import com.bigkoo.pickerview.model.IPickerViewData;

/**
 * Created by zhuyakun on 2017/8/25.
 */

public class GeoItem implements IPickerViewData {
    String name;
    String id;

    public GeoItem() {
        name = "  ";
        id = "  ";
    }

    public GeoItem(String name, String id) {
        this.name = name;
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Override
    public String getPickerViewText() {
        return name;
    }

    @Override
    public String toString() {
        return name;
    }

    public static final GeoItem DUMMY_ITEM = new GeoItem();
}
